package com.swjd.model;

public class ProductModel {
	
	private int productId;  // 产品的编号（通过编号来查找产品）

	private String imgPath; // 产品的的图片路径，  类似： img/1.png

	private String name;  // 产品的名称

	private double price; // 价钱

	private float dazhe; // 打折

	private boolean isBaoyou;  // 是否包邮

	private String info;   // 产品介绍

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public float getDazhe() {
		return dazhe;
	}

	public void setDazhe(float dazhe) {
		this.dazhe = dazhe;
	}

	public boolean isBaoyou() {
		return isBaoyou;
	}

	public void setBaoyou(boolean isBaoyou) {
		this.isBaoyou = isBaoyou;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
	
	// 暴露数据给其他程序 ==> 添加 GET / SET 方法
}
